﻿@{
    ViewData["Title"] = "UpdAllocate";
    Layout = "~/Views/Shared/Temp.cshtml";
}


<san style="font-size:20px;font-weight:bold;color:dodgerblue">|</san>
<span style="font-size: 17px; font-weight: bold; color: darkgrey ">新增调拨</span>


<table style="border: solid 1px gainsboro; width: 100%; height: 50px; margin-bottom: 30px; margin-top: 30px ">
    <tr style="height: 50px; margin-left: 20px">
        <td style="font-size:15px;font-weight:bold;color:dimgray">新增调拨单</td>
    </tr>
</table>
<form class="layui-form layui-row layui-col-space16">
    @* //第一行 *@
    <div class="layui-row">
        <div class="layui-col-md4">
            <div class="grid-demo grid-demo-bg1">
                <div class="layui-col-sm4">
                    <div class="layui-form-item">
                        <label class="layui-form-label">调拨单号:</label>
                        <div class="layui-input-block">
                            <input type="text" id="AllocateCode" placeholder="可不填写，自动生成" style="width:200px" class="layui-input">
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-col-md4">
            <div class="grid-demo">
                <div class="layui-col-sm4">
                    <div class="layui-form-item" style="margin-bottom: 0;">
                        <label class="layui-form-label">调拨仓库:</label>
                        <div class="layui-input-block" style="width:200px">
                            <select name="AllocateStore" id="AllocateStore">
                                <option value="">请选择调拨类别</option>
                                <option value="1">采购收货入库</option>
                                <option value="2">销售退货入库</option>
                                <option value="3">生产产品入库</option>
                                <option value="4">领用退还入库</option>
                                <option value="5">借货入库</option>
                                <option value="6">借出还入</option>
                            </select>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-col-md4">
            <div class="grid-demo grid-demo-bg1">
                <div class="layui-col-sm4">
                    <div class="layui-form-item">
                        <label class="layui-form-label">关联订单号:</label>
                        <div class="layui-input-block">
                            <input type="text" id="MorderNumber" name="MorderNumber" style="width:200px" class="layui-input">
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    @* 第二行 *@
    <div class="layui-row">

        <div class="layui-col-md4">
            <div class="grid-demo">
                <div class="layui-col-sm4">
                    <div class="layui-form-item" style="margin-bottom: 0;">
                        <label class="layui-form-label">制单人:</label>
                        <div class="layui-input-block">
                            <input type="text" id="MakePerson" name="MakePerson" placeholder="" style="width: 200px" class="layui-input">
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-col-md4">
            <div class="layui-inline">
                <label class="layui-form-label">制单时间</label>
                <div class="layui-input-inline layui-input-wrap">
                    <div class="layui-input-prefix">
                        <i class="layui-icon layui-icon-date"></i>
                    </div>
                    <input type="date" id="MarkTime" lay-verify="date" placeholder="yyyy-MM-dd" class="layui-input">
                </div>
            </div>
        </div>
    </div>

    @* 第三行 *@

    <div class="layui-row">
        <div class="layui-col-md9">
            <div class="grid-demo grid-demo-bg1">
                <div class="layui-form-item layui-form-text">
                    <label class="layui-form-label">备注:</label>
                    <div class="layui-input-block">
                        <textarea placeholder="请输入内容" id="ARremark" class="layui-textarea"></textarea>
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-col-md3">
            <div class="grid-demo"></div>
        </div>
    </div>

    <table style="border: solid 1px gainsboro; width: 100%; height: 50px; margin-bottom: 30px">
        <tr style="height: 50px; margin-left: 20px">
            <td style="font-size: 15px; font-weight: bold; color: dimgray">产品信息</td>
            <td style="float:right">
                <button type="button" class="layui-btn layui-btn-primary" lay-on="test-page-new" id="Productadd">新增产品</button>
            </td>
        </tr>
    </table>

    @* 显示选中的产品 *@
    <table class="layui-table" lay-data="{height:315}" id="ID-demo"></table>

    <div class="layui-btn-container" style="text-align:center">
        <input type="button" value="提交" class="layui-btn" id="addpro" />
        <button class="layui-btn layui-btn-primary layui-border-green">取消</button>
    </div>
</form>



<script src="~/js/allocate/updallocate.js"></script>



